package com.example.poverty.service;

import com.example.poverty.entity.OrganizationDepartment;

import java.util.List;

/**
 * 前端  主管单位 service接口
 */
public interface OrganizationDepartmentService {

    //    增加
    public boolean insert(OrganizationDepartment organizationDepartment);

    //    更新
    public boolean update(OrganizationDepartment organizationDepartment);

    //    删除
    public boolean delete(Integer id);

    //    根据主键查询
    public OrganizationDepartment selectByPrimaryKey(Integer id);

    //    查询所有工作队信息
    public List<OrganizationDepartment> allOrganizationDepartment();

    //    根据单位查询相应信息
    public OrganizationDepartment getByUnit(String unit);
}
